package cn.hs.dao;

import cn.hs.entity.Community;

import java.util.List;
import java.util.Map;

public interface CommunityDao {
    //添加
    int insertCommunity(Community community);
    //修改
    int updateCommunity(Community community);
    //删除
    int deleteCommunity(Integer communityId);
    //分页多条件查询
    List<Community> selectCommunitys(Map<String,String> map);
    //多条件查询总条数
    int selectCommunityCount(Map<String,String> map);
}
